/*********************************************************************************
* Copyright (c) zhujinyang.
* All rights reserved.
*
* \file
*
* os shell
*
* 
*********************************************************************************/
#ifndef MAL_CONSOLE_H
#define MAL_CONSOLE_H








/**********************************************************************************
* \brief:       console register handler
* \param[in]:   cmd: Command string, note that it must be a string pointer, example: "help"  
* \param[in]:   handler: command handler function
* \return:      none
**********************************************************************************/
void mal_console_register_handler(const char *cmd, void (*handler)(const char *cmd, int argc, char *argv[]));


/**********************************************************************************
* \brief:       console init
* \param[in]:   none  
* \return:      none
**********************************************************************************/
void mal_console_init(void);



#endif





